package ${mm.packageName};

<#if useLombok>
import lombok.Data;
</#if>
<#if !useLombok>
import org.apache.commons.lang.builder.ToStringBuilder;
</#if>

<#list mm.imports as im>
import ${im};
</#list>

/**
 * @Author Firmye
 * @Date ${.now}
 * 
 * @Description 
 */
<#list mm.annotations as anno>
${anno}
</#list>
<#if useLombok>
@Data
</#if>
public class ${mm.className}<#if mm.superClassName??> extends ${mm.superClassName}</#if><#if (0 < mm.interfaces?size)> implements</#if><#list mm.interfaces as interface> ${interface}<#sep>,</#list> {
	
	<#list mm.fields as field>
	protected ${field.fieldType} ${field.fieldName};	// ${field.fieldRemarks}
	</#list>

	<#if !useLombok>
	<#list mm.methods as method>
	${method.property} ${method.returnTypeName} ${method.methodName}(<#if method.parameters??><#list method.parameters as param>${param.fieldType} ${param.fieldName}<#sep>, </#list></#if>){
		${method.statement};
	}
	 
	</#list>
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	</#if>
}
